package com.pactera.madp.cp.api.dto.channel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 编辑渠道码分组传输对象
 *
 * @author kedongZhang
 * @date 2021/5/28 14:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "编辑渠道码分组传输对象")
public class ReqChannelCodeGroupUpdateDTO {

    /**
     * 渠道码组编号
     */
    @ApiModelProperty(value = "渠道码组编号")
    @NotNull(message = "渠道码组编号不能为空")
    private Integer groupId;

    /**
     * 渠道码组名称
     */
    @ApiModelProperty(value = "渠道码组名称")
    @NotBlank(message = "新渠道码组名不能为空")
    private String name;

}
